MailPoet\Config\Hooks S

Total Complexity 35
Dependencies 18
Dependents 3
Total lines 531
Lines of code 406
Logical lines of code 110
Comment lines 36
Methods 25
Properties 16

Methods 25

Method Rating Maintainability Complexity Lines of code
setupSubscriptionEvents()
A
37 7 99
setupWPUsers()
S
48 1 48
setupWooCommerceSubscriptionEvents()
S
56 2 21
setupWooCommerceUsers()
S
53 1 32
setupWoocommerceSystemInfo()
S
57 1 23
setupWooCommerceSettings()
S
58 1 19
init()
S
57 1 19
__construct()
S
56 1 18
setScreenOption()
S
69 2 7
setFooter()
S
70 2 6
setupFooter()
S
65 2 10
setupMailer()
S
62 1 14
setupWooCommercePurchases()
S
62 1 14
setupWooCommerceSubscriberEngagement()
S
65 1 11
setupImageSize()
S
70 1 7
appendImageSize()
S
72 1 5
setupListing()
S
70 1 7
setupWooCommerceTracking()
S
70 1 7
setupPostNotifications()
S
70 1 7
setupAutomateWooSubscriptionEvents()
S
82 1 3
initEarlyHooks()
S
82 1 3
setupSettingsLinkInPluginPage()
S
71 1 6
setSettingsLinkInPluginPage()
S
68 1 6
setupChangeNotifications()
S
72 1 6
setupLicenseProvisioning()
S
68 1 8